package com.caih.contacts.entity;

import lombok.Data;

import javax.persistence.Entity;

@Data
public class Result<T> {
    public  static final Integer OK = 0;
    public  static final Integer ERROR = 100;

    private Integer code;
    private  String message;
    private T data;
}
